package be.sc.classicnetwork.model;

import javax.persistence.Embeddable;

/**
 * Contains info from the remote user like its IP address.
 */
@Embeddable
public class UserInfo {

    private String remoteUser;

    private String remoteAddress;

    private String remoteHost;

    private Integer remotePort;

    private String userAgent;

    public String getRemoteAddress() {
	return remoteAddress;
    }

    public void setRemoteAddress(String remoteAddress) {
	this.remoteAddress = remoteAddress;
    }

    public String getRemoteHost() {
	return remoteHost;
    }

    public void setRemoteHost(String remoteHost) {
	this.remoteHost = remoteHost;
    }

    public Integer getRemotePort() {
	return remotePort;
    }

    public void setRemotePort(Integer remotePort) {
	this.remotePort = remotePort;
    }

    public String getUserAgent() {
	return userAgent;
    }

    public void setUserAgent(String userAgent) {
	this.userAgent = userAgent;
    }

    public String getRemoteUser() {
	return remoteUser;
    }

    public void setRemoteUser(String remoteUser) {
	this.remoteUser = remoteUser;
    }

}
